This scenario verifies that a global admin who has not assumed any role sees all subjects across all realms.
| name | value |
|---|---|
| expectedSubjectNames | [ { “name”: “hsh-alex_superuser” }, { “name”: “hsh-fran_superuser” }, { “name”: “tst-customer_admin_xxx” }, { “name”: “/hsh-Hostmasters” }, { “name”: “/xyz-Service” } ] |
HTTP GET "/api/rbac/subjects" \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "comment" : "a global admin without an assumed role",` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 200 OK
[
{
"uuid" : "242a0005-0000-0000-0000-000000000005",
"name" : "abc-peter.smith",
"type" : "USER"
},
{
"uuid" : "05cd4947-fa73-4b7f-af65-3ed95e4d618c",
"name" : "/abc-Team",
"type" : "GROUP"
},
{
"uuid" : "242a0006-0000-0000-0000-000000000006",
"name" : "def-peter.smith",
"type" : "USER"
},
{
"uuid" : "d10a98a6-f7a9-41ca-b17e-91d1da23395d",
"name" : "/def-Team",
"type" : "GROUP"
},
{
"uuid" : "e72bcbba-3efe-5275-b57a-5194ece1cfa9",
"name" : "hsh-alex_superuser",
"type" : "USER"
},
"..."
]
generated on 2026-07-17 01:42:21 for branch